package com.lt.shiropro.service;

import com.lt.shiropro.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Set;

/**
* @author root
* @description 针对表【t_role】的数据库操作Service
* @createDate 2023-12-04 16:36:38
*/
public interface RoleService extends IService<Role> {

    /**
     * 通过用户名查询角色list
     * @param username username
     * @return
     */
    Set<String> queryUserRoles(String username);
}
